export default {
  menu: {
    add: 'Add Menu',
    edit: 'Edit Menu',
    delete: {
      confirm: 'Are you sure you want to delete this menu?'
    },
    save: {
      success: 'Save successful',
      failed: 'Save failed'
    },
    move: {
      success: 'Move successful',
      failed: 'Move failed'
    },
    form: {
      title: {
        label: 'Menu Title',
        placeholder: 'Please input menu title',
        required: 'Please input menu title'
      },
      name: {
        label: 'Menu Name',
        placeholder: 'Please input menu name',
        required: 'Please input menu name'
      },
      path: {
        label: 'Route Path',
        placeholder: 'Please input route path',
        required: 'Please input route path',
        format: 'Route path must start with /'
      },
      type: {
        label: 'Menu Type',
        required: 'Please select menu type',
        group: 'Group',
        function: 'Function'
      },
      component: {
        label: 'Component Path',
        placeholder: 'Please input component path',
        required: 'Please input component path',
        format: 'Component path format is incorrect'
      },
      icon: {
        label: 'Icon',
        placeholder: 'Please select icon',
        required: 'Please select icon'
      },
      code: {
        label: 'Permission Code',
        placeholder: 'Please input permission code',
        required: 'Please input permission code'
      },
      redirect: {
        label: 'Redirect',
        placeholder: 'Please input redirect path',
        help: 'Fill in the homepage code defined by the low-code designer module. Ignore if not a low-code defined module'
      },
      description: {
        label: 'Description',
        placeholder: 'Please input description'
      },
      relation: {
        label: 'Relation Type',
        same: 'Same Level',
        sub: 'Sub Level'
      },
      roles: {
        label: 'Roles',
        placeholder: 'Please select roles',
        required: 'Please select roles',
        loadFailed: 'Failed to load roles list'
      }
    }
  }
} 